import Vue from 'vue'
import App from './App'
import store from './store'
import xModal from './components/x-modal/x-modal.vue'
Vue.component('modal', xModal)

import message from './components/message.vue'
Vue.component('message', message)

Vue.config.productionTip = false

import {toJSON} from './js/common.js'
Vue.prototype.toJSON = toJSON;

App.mpType = 'app'

const app = new Vue({
	store,
  ...App
})
app.$mount()
